package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * renyuan对象 renyuan
 * 
 * @author ruoyi
 * @date 2021-10-28
 */
public class Renyuan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String userid;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String shenfenzhenghao;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String truename;

    /** 生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date chuangjiantime;

    /** 一级科室 */
    @Excel(name = "一级科室")
    private String yijikeshi;

    /** 二级科室 */
    @Excel(name = "二级科室")
    private String erjikeshi;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastedittime;

    /** 标志 */
    @Excel(name = "标志")
    private Long flag;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 备注1 */
    @Excel(name = "备注1")
    private String text1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String text2;

    /** 备注3 */
    @Excel(name = "备注3")
    private String text3;

    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setShenfenzhenghao(String shenfenzhenghao) 
    {
        this.shenfenzhenghao = shenfenzhenghao;
    }

    public String getShenfenzhenghao() 
    {
        return shenfenzhenghao;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setTruename(String truename) 
    {
        this.truename = truename;
    }

    public String getTruename() 
    {
        return truename;
    }
    public void setChuangjiantime(Date chuangjiantime) 
    {
        this.chuangjiantime = chuangjiantime;
    }

    public Date getChuangjiantime() 
    {
        return chuangjiantime;
    }
    public void setYijikeshi(String yijikeshi) 
    {
        this.yijikeshi = yijikeshi;
    }

    public String getYijikeshi() 
    {
        return yijikeshi;
    }
    public void setErjikeshi(String erjikeshi) 
    {
        this.erjikeshi = erjikeshi;
    }

    public String getErjikeshi() 
    {
        return erjikeshi;
    }
    public void setLastedittime(Date lastedittime) 
    {
        this.lastedittime = lastedittime;
    }

    public Date getLastedittime() 
    {
        return lastedittime;
    }
    public void setFlag(Long flag) 
    {
        this.flag = flag;
    }

    public Long getFlag() 
    {
        return flag;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setText1(String text1) 
    {
        this.text1 = text1;
    }

    public String getText1() 
    {
        return text1;
    }
    public void setText2(String text2) 
    {
        this.text2 = text2;
    }

    public String getText2() 
    {
        return text2;
    }
    public void setText3(String text3) 
    {
        this.text3 = text3;
    }

    public String getText3() 
    {
        return text3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userid", getUserid())
            .append("shenfenzhenghao", getShenfenzhenghao())
            .append("password", getPassword())
            .append("truename", getTruename())
            .append("chuangjiantime", getChuangjiantime())
            .append("yijikeshi", getYijikeshi())
            .append("erjikeshi", getErjikeshi())
            .append("lastedittime", getLastedittime())
            .append("flag", getFlag())
            .append("status", getStatus())
            .append("text1", getText1())
            .append("text2", getText2())
            .append("text3", getText3())
            .toString();
    }
}
